package com.menfan.saas.dao;

import java.util.List;

import com.menfan.saas.domain.ItemEntity;
import com.menfan.saas.domain.ItemEntityExample;
import org.apache.ibatis.annotations.Param;

public interface ItemEntityMapper {
    int countByExample(ItemEntityExample example);

    int deleteByExample(ItemEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ItemEntity record);

    int insertSelective(ItemEntity record);

    List<ItemEntity> selectByExampleWithBLOBs(ItemEntityExample example);

    List<ItemEntity> selectByExample(ItemEntityExample example);

    ItemEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ItemEntity record, @Param("example") ItemEntityExample example);

    int updateByExampleWithBLOBs(@Param("record") ItemEntity record, @Param("example") ItemEntityExample example);

    int updateByExample(@Param("record") ItemEntity record, @Param("example") ItemEntityExample example);

    int updateByPrimaryKeySelective(ItemEntity record);

    int updateByPrimaryKeyWithBLOBs(ItemEntity record);

    int updateByPrimaryKey(ItemEntity record);
}